import Cooikes from 'js-cookie'

const TokenKey = 'SMAdmin-Token'

export function setToken(token: string) {
  return Cooikes.set(TokenKey, token)
}

export function getToken() {
  return Cooikes.get(TokenKey)
}

export function removeToken() {
  return Cooikes.remove(TokenKey)
}